import request from "./request";
// post请求 ，没参数
export function login(data: string) {
  return request({
    url: "/login",
    method: "post",
    data,
  });
}
// 获取路由信息
export function getRoutesList() {
  return request({
    url: "/router/getList",
    method: "get",
  });
}
